import { ajax } from './ajax.js'

const projectName = window.config.projectName
/**
 * 根据RSA获取用户信息
 * @param {*} params
 */
async function getUserInfoByRSA(params) {
    let UserInfo = await ajax.post(`${projectName}rest/check/getUserInfoByRSA`, params)
    return UserInfo.data
}

export default {
    getUserInfoByRSA
}
